package com.hzdl.sbdemo.service.impl;

import com.hzdl.sbdemo.bean.CategoryInfo;
import com.hzdl.sbdemo.mapper.CategoryInfoMapper;
import com.hzdl.sbdemo.service.CategoryInfoService;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class CategoryInfoServiceImpl implements CategoryInfoService {
    @Resource
    private CategoryInfoMapper categoryInfoMapper;
    @Override
    public List<CategoryInfo> findAll() {
        return categoryInfoMapper.findAll();
    }
}
